package org.gary.base.service;

/**
 * 
 * @author lengreen
 *
 */
public interface XxxImageService {
	/**
	 * 
	 * @param target 在数据库中有product_image, equipment_image, news_image
	 * @param imageId
	 */
	public void deleteByImageId(String target, int imageId);
	
	/**
	 * 删除xxx_image表中的记录并返回xxxid
	 * @param target
	 * @param xxxId
	 * @return
	 */
	public Object[] deleteByXxxId(String target, int xxxId);
}